#ifndef __MQTT_CONNECT_H__
#define __MQTT_CONNECT_H__

typedef struct {
    unsigned char*   subscriber;
    unsigned char*   publish;
    unsigned char*   send_data;
} mqtt_msg;

int MQTT_Connect(mqtt_msg* msg);
void MQTT_SendData(mqtt_msg* msg);
void read_mqtt_data(char* buf);

void i_mqtt_send(char *info);

#endif
